import { request } from '@/utils/request';

export default class Index {
    static uploadFiles (file) {
        return request({
            url: '/admin-v3/sys-file/uploadFile',
            method: 'post',
            params: file,
        })
    }

    static uploadInputStream (file) {
        return request({
            url: '/admin-v3/sys-file/uploadInputStream',
            method: 'post',
            params: file,
        })
    }
}